//----------------------------------*-C++-*----------------------------------//
/*!
 * \file   MomentsIndex.i.hh
 * \author Jeremy Roberts
 * \date   Aug 30, 2011
 * \brief  Inline function definitions for MomentsIndex.
 * \note   Copyright (C) 2011 Jeremy Roberts. 
 */
//---------------------------------------------------------------------------//
// $Rev::                                               $:Rev of last commit
// $Author::                                            $:Author of last commit
// $Date::                                              $:Date of last commit
//---------------------------------------------------------------------------//

#ifndef MOMENTSINDEX_I_HH_
#define MOMENTSINDEX_I_HH_

namespace slabtran
{

// Get m indices.
template<class D>
inline const std::vector<int>&
MomentsIndex<D>::m_index(int l) const
{
  Require(l >= 0 && l <= d_legendre_order);
  return d_m_index[l];
}

} // end namespace slabtran

#endif /* MOMENTSINDEX_I_HH_ */

//---------------------------------------------------------------------------//
//              end of MomentsIndex.i.hh
//---------------------------------------------------------------------------//
